package com.ftd.dao;

import com.ftd.config.ResultType;
import com.ftd.model.User;

import java.util.List;

public interface UserDao{
	public ResultType register(String userPhone, String userPassword, String userEmail);
	public User queryById(int id);
	public List queryAll();
	public User getUserByPhone(String userPhone);
	public ResultType findPass(String userPhone, String userEmail,String oldPass, String newPass) ;
	public ResultType login(String userPhone ,String userPassword);
}